home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (4th Edition)
/
The Business Master - 4th Edition.iso
/
files
/
grapties
/
mmmaker2
/
mmm20b.exe
/
EXAMPLE9.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-01-01
|
1KB
|
50 lines
@echo off
REM This is a example you can use for a simple slide show.
:SLIDE1
show-pcx blue.pcx spiral r
GTEXT "Page 1" 0 1 8
GTEXT " This is a TEMPLET for a slide show." 12 1 8 200
GTEXT "Press C to Continue * Press Q to Quit" 24 1 8
KEY cq
IF ERRORLEVEL 2 GOTO QUIT
IF ERRORLEVEL 1 GOTO SLIDE2
:SLIDE2
clear blue.pcx spiral
show-pcx red.pcx weave
GTEXT "Page 2" 0 1 8
GTEXT "C = Continue * P = Previous * Q = Quit" 24 1 8
KEY cpq
IF ERRORLEVEL 3 GOTO QUIT
IF ERRORLEVEL 2 GOTO SLIDE1
IF ERRORLEVEL 1 GOTO SLIDE3
:SLIDE3
clear red.pcx weave
show-pcx yellow.pcx crush
GTEXT "Page 3" 0 1 8
GTEXT "Press C to Continue" 22 1 8
GTEXT "Press P for Previous slide" 23 1 8
GTEXT "Press Q to Quit" 24 1 8
KEY cpq
IF ERRORLEVEL 3 GOTO QUIT
IF ERRORLEVEL 2 GOTO SLIDE2
IF ERRORLEVEL 1 GOTO SLIDE4
:SLIDE4
clear yellow.pcx crush
show-pcx blue.pcx explode
GTEXT "Page 4" 0 1 8
GTEXT "Press C to Continue" 22 1 8
GTEXT "Press P for Previous slide" 23 1 8
GTEXT "Press Q to Quit" 24 1 8
KEY cpq
IF ERRORLEVEL 3 GOTO QUIT
IF ERRORLEVEL 2 GOTO SLIDE3
IF ERRORLEVEL 1 GOTO SLIDE5
:SLIDE5
:QUIT
clear blue.pcx fade
textmode
cls